using UnityEngine;

[RequireComponent(typeof(GOdrive))]
public class GUIDEdrive : MonoBehaviour
{
	private GOdrive vechileGUIDE;

	private void Start()
	{
		vechileGUIDE = GetComponent<GOdrive>();
	}

	private void Update()
	{
		vechileGUIDE.Thrust = UnityEngine.Input.GetAxis("Vertical");
		vechileGUIDE.Steering = UnityEngine.Input.GetAxis("Horizontal");
	}
}
